package com.gupaoedu.vip.proxy;

/**
 * @Auther: tcm
 * @Date: 2020/1/25 18:08
 * @Description:
 */
public class Goods {

    private Integer id;
    private Integer parentId;
    private String name;
    private double price;
    private long stock;
    private String desc;

    public Goods(Integer id, Integer parentId, String name, double price, long stock, String desc) {
        this.id = id;
        this.parentId = parentId;
        this.name = name;
        this.price = price;
        this.stock = stock;
        this.desc = desc;
    }

    public Goods() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public long getStock() {
        return stock;
    }

    public void setStock(long stock) {
        this.stock = stock;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
